Skip to content

DOC: Replace pandas logo with a conditional image for light and dark … #57223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2024

Conversation

LakshmanKishore
Copy link
Contributor

...themes

Replaced the static pandas logo with a picture tag that displays a different logo based on the color scheme. In light mode, the original logo is shown, while in dark mode, a white version of the logo is displayed for better visibility.

In GitHub Dark Theme
image

In GitHub Light Theme
image

…themes

Replaced the static pandas logo with a `picture` tag that displays a different logo based on the color scheme. In light mode, the original logo is shown, while in dark mode, a white version of the logo is displayed for better visibility.
@rhshadrach rhshadrach added the Docs label Feb 4, 2024
@rhshadrach rhshadrach added this to the 3.0 milestone Feb 4, 2024
Copy link
Member

@datapythonista datapythonista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @LakshmanKishore.
I'm not familiar with that html syntax, but I see i your branch that it works as expected. Glad to see this addressed, I use the dark theme myself.

@LakshmanKishore
Copy link
Contributor Author

Thank you for the feedback, I'm glad you found the change helpful!
Looking forward to do more contributions!

@mroeschke mroeschke merged commit e777b07 into pandas-dev:main Feb 4, 2024
@mroeschke
Copy link
Member

Thanks @LakshmanKishore

pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
pandas-dev#57223)

DOC: Replace pandas logo with a conditional image for light and dark themes

Replaced the static pandas logo with a `picture` tag that displays a different logo based on the color scheme. In light mode, the original logo is shown, while in dark mode, a white version of the logo is displayed for better visibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants